﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MultiAnnotatedRegex.parser {
	enum TokenType {
		Literal,
		LeftParen, RightParen,
		LeftBrace, RightBrace,
		LeftCurly, RightCurly,
		Plus, Star, Question,
		Caret, Dollar,
		Or,
		Dot, Comma,
		Escape,
		End
	}

	class Token {
		public readonly int Pos;
		public readonly TokenType Type;
		public readonly char Lexeme;

		public Token(int pos, TokenType type, char lexeme) {
			Pos = pos;
			Type = type;
			Lexeme = lexeme;
		}

	}
}
